﻿using Data.Enum;

namespace Data.Common
{
    public class IdNameObject
    {
        public int Id { get; set; }
        public string Name { get; set; }

        public static IdNameObject All()
        {
            return new IdNameObject { Id = (int)LookUp.All, Name = "全部" };
        }

        public static IdNameObject Empty()
        {
            return new IdNameObject { Id = (int)LookUp.All, Name = string.Empty };
        }
    }
}